package link.cocoon.finance.util;

import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author Larva
 */
@Data
public class AnnualReportInfo {

  private Integer deadlineYear;
  private Integer nowYear;
  private Double step;
  private Long targetIncome;
  private Long nowIncome;
  private List<AnnualReportItem> annualReport = new ArrayList<>();

  @Data
  @AllArgsConstructor
  public static class AnnualReportItem {

    private String year;
    private Long income;
  }
}
